import { Observable } from "rxjs";
import { environment } from "../../environments/environment";

//declare module 'rxjs/Observable' {
  //interface Observable<T> {
    //debug: (...any) => Observable<T>;
  //}
//}
//Observable.prototype.debug = function (message: string) {
//  return this.do(val => {
//    if (!environment.production) {
//      console.log(val, message);
//    }
//  }, err => {
//    if (!environment.production) {
//      console.log(err, message);
//    }
//  }, () => {
//    console.log(message);
//  });
//}
